import{d as m,M as u,a9 as _,s as y,b as o,o as s,a as l,f as d,t as f,u as e,F as r,e as g,v as V,aK as b,g as k}from"./DrFvzlh8agutd.js";import{_ as v}from"./2AZ41aXe85ygF.js";/* empty css              */import"./MpnPZlTSagutd.js";import"./Nc0jDSlw1t8dnT.js";import"./BfQegiIr3PfrX1.js";const h={class:"app-page app-inbox app-document"},C={class:"app-page-header"},N={class:"app-page-body"},$={class:"app-document-content"},x=m({__name:"app-document-category",setup(B){const i=u(),c=_(()=>i.params.subId),t=y.workspace?.useReactive(c);return(n,a)=>(s(),o("div",h,[l("div",C,[d(v),l("h1",null,f(n.$t("document.titleCategory")),1)]),l("div",N,[l("div",$,[e(t)?(s(),o(r,{key:0},[e(t)._type==="category"?(s(),o(r,{key:0},[d(e(V),{modelValue:e(t).title,"onUpdate:modelValue":a[0]||(a[0]=p=>e(t).title=p),title:n.$t("document.labelTitle"),class:"full"},null,8,["modelValue","title"]),d(e(b),{modelValue:e(t).color,"onUpdate:modelValue":a[1]||(a[1]=p=>e(t).color=p),title:n.$t("document.labelColor"),class:"full"},null,8,["modelValue","title"])],64)):g("",!0)],64)):(s(),o(r,{key:1},[k(" This is not a category! ")],64))])])]))}});export{x as default};